-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[refurb] Implement read-whole-file
[FURB101
]
#7682
[refurb] Implement read-whole-file
[FURB101
]
#7682
Conversation
8f08ccd
to
f848029
Compare
CodSpeed Performance ReportMerging #7682 will not alter performanceComparing Summary
|
PR Check ResultsEcosystem✅ ecosystem check detected no changes. |
Hey @charliermarsh 👋 Do you mind taking a look at this PR? Thanks! 🙏 |
Sorry, this is absolutely on my list, it's just a big rule implementation so trying to find time to focus on it. |
@charliermarsh a gentle ping |
@SavchenkoValeriy - Sorry for the delay, reading now! |
Oh, really nice catch with argument unpacking! ❤️ |
@SavchenkoValeriy - I think there are a few cases we could catch, but it felt like it didn't merit the complexity budget. |
Excellent work @SavchenkoValeriy |
## Summary Implement `write-whole-file` (`FURB103`), part of astral-sh#1348. This is largely a copy and paste of `read-whole-file` astral-sh#7682. ## Test Plan Text fixture added. --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Summary
This PR is part of a bigger effort of re-implementing
refurb
rules #1348. It adds support for FURB101Test Plan
I included a new test + checked that all other tests pass.